* dired-x.el (dired-omit-mode): Doc fix.
authorJuri Linkov <juri@jurta.org>
Tue, 30 Mar 2010 16:10:14 +0000 (19:10 +0300)
committerJuri Linkov <juri@jurta.org>
Tue, 30 Mar 2010 16:10:14 +0000 (19:10 +0300)
lisp/ChangeLog
lisp/dired-x.el

index b8b2b73a36b377238fd2d0479519a64291722575..b3f7fd608f66043bea4a08ada2d2d07f33090621 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-30  Juri Linkov  <juri@jurta.org>
+
+       * dired-x.el (dired-omit-mode): Doc fix.
+
 2010-03-30  Juri Linkov  <juri@jurta.org>
 
        Make occur handle multi-line matches cleanly with context.
index f919840e65da9903f7a1ea2a386d8e9b9f35767e..aba4b7a7a9d33b9472694b1b2ccaa4c6b0c08088 100644 (file)
@@ -163,7 +163,13 @@ With numeric ARG, enable Dired-Omit mode if ARG is positive, disable
 otherwise.  Enabling and disabling is buffer-local.
 If enabled, \"uninteresting\" files are not listed.
 Uninteresting files are those whose filenames match regexp `dired-omit-files',
-plus those ending with extensions in `dired-omit-extensions'."
+plus those ending with extensions in `dired-omit-extensions'.
+
+To enable omitting in every Dired buffer, you can put in your ~/.emacs
+
+  (add-hook 'dired-mode-hook (lambda () (dired-omit-mode 1)))
+
+See Info node `(dired-x) Omitting Variables' for more information."
   :group 'dired-x
   (if dired-omit-mode
       ;; This will mention how many lines were omitted: